package operation;

import staff.Staff;
import staff.StaffList;
public class DisplayOperation implements IOperation{
    @Override
    public Staff work(StaffList staffList) {
        System.out.println("员工基本信息显示");
        int size = staffList.getUsedSize();
        for (int  i = 0;  i <size ;  i++) {
            System.out.println(staffList.getStaffs(i));
        }
        return null;
    }
}
